<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改信息</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- 引入 Bootstrap -->
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://www.layuicdn.com/layui-v2.6.8/css/layui.css"  media="all">
</head>
<body>
<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    <small>DEPP.SPACE---修改信息</small>
                    <a href="${pageContext.request.contextPath}/Product/allProduct" class="btn btn-danger" style="margin-left: 55%">退出</a>
                </h1>
            </div>
        </div>
    </div>
    <form action="${pageContext.request.contextPath}/Product/updateProduct" method="post">
        <div style="margin-left: 45%">
            商品编号：
        </div>
        <input  style="margin-left: 40%" type="text" name="pid" value="${product.getPid()}"/><br><br><br>
        <div style="margin-left: 25%">
        商品名称：<input type="text" name="pname" value="${product.getPname()}"/>
        商品数量：<input type="text" name="pnum" value="${product.getPnum()}"/><br><br><br>
        商品销量：<input type="text" name="psold" value="${product.getPsold()}"/>
        商品颜色：<input type="text" name="pcolor" value="${product.getPcolor()}"/><br><br><br>
        商品图片：<input type="text" name="pimg" value="${product.getPimg()}"/>
        商品价格：<input type="text" name="pmoney" value="${product.getPmoney()}"/><br><br><br>
        </div>
        <button type="submit" class="layui-btn layui-btn-radius" style="margin-left: 45%;margin-top: 18px;"  >提交</button>
    </form>
</div>
</body>